package edu.gdit.health.dao;

import edu.gdit.health.model.LoggingEvent;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface LoggingEventDao {
    @Select("select * from logging_event t limit #{offset},#{limit}")
    List<LoggingEvent> getAll (int offset,int limit);
    @Select("select count(*) from logging_event t ")
    int count();
}
